<template>
  <div class="addAddress absolute">
  
  </div>
</template>
<script type="text/babel">
import {wxCallback} from "@api/order";

export default {
  created(){
    this.wxCallback1(window.location.href)
  },
  data() {
    return {
     
    };
  },
  mounted: function() {
 
  },
  methods: {
       //回调
    wxCallback1(url){
      wxCallback(url).then(res => {
         console.log('getOpenId=='+res)
        })
        .catch(res => {
          this.$dialog.error(res.msg);
        });
    },
  },
};
</script>
